
#include "failedscene.h"

FailedScene::FailedScene(QWidget *parent)
    : QMainWindow{parent}
{
    this->setWindowTitle("原神（你被骗了）");
    this->setWindowIcon(QIcon("://resource/tubiao.png"));
}

void FailedScene::paintEvent(QPaintEvent*)
{
    QPainter painter(this);
    QPixmap pix("://resource/failedscene.png");
    pix.scaled(this->width(),this->height());
    painter.drawPixmap(0,0,this->width(),this->height(),pix);
}
